package com.ys.日期处理类;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

/**
 * 描述:
 *
 * @author CodeYang
 * @version 2020/12/22 14:23
 */
public class 日期处理 {
    public static void main(String[] args) {
        Date date = new Date();
        DateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd D");
        String format = simpleDateFormat.format(date);
        Calendar instance = Calendar.getInstance();

        System.out.println(format);

    }
}
